<?php

return [
    'default_image' => '/static/images/default.png',
    'upload_path' => ROOT_PATH . 'public' . DIRECTORY_SEPARATOR . 'static' . DIRECTORY_SEPARATOR . 'uploads',
    //上传文件限制5M
    'upload_filesize' => 5242880,
    //分页默认数量
    'page_limit' => 10,
    //售后，评论等上传图片数量限制
    'image_max' => 5,
    //商品导入模板
    'goods_import_templete' => ROOT_PATH . 'public' . DS . 'static' . DS . 'templete' .DS. 'goods-csv-import.csv',
    //快递查询配置参数
    'api_express_key' => 'e5572466f046924e506ebf43dbccc786',
    //共享店铺费率
    'rate' => 0.006 ,
    'wxapp' => [
        'appid' => 'wxae5e1c354e373021',
        'appsecret' => 'eb3deb6e771c75547b758323a1c10c6e',
    ],
    'wx_pages' => 'pages/index/index',
    'payment' => [
        'wechatpay' => [
            'appid' => 'wxae5e1c354e373021',    //app_id
            'mch_id' => '1497851492',                     //商户号
            'key' => '12345678901234567890123456789012',
            'sslcert' => '5acb20016c559.pem',
            'sslkey' => '5acb20659e600.pem',
        ],
        'alipay' => [
            'appid' => '2018070860531641',
            'rsa_private_key' => 'MIIEowIBAAKCAQEAnFKUexn9DqLNzZ3QoG0p/js6Hd5x7xOZ3Jdbdfwm2SwAzzS/UhWBPKqFwQUb534zqowIBfZq3Ty3tNdiMMeg1g54ukU8jhoTauwk12HIypZ9e4IZov2wM44qVGGFIldw8puf3AHLnyuF7bValng34DJzladZB3kxlPnvwqEnInXGRIZOTSkkKQpk4CliZkdkDI64lEDUaVtzq69408EpvGDnsX1C5lSP9tHBR9AmnsYst+A+F2+yAjdKgcoC6qCHsbzbkVN44bSu6tfXuVGJuqjVjgNVYF9C270egPE5ajIye0cb/NfAVa1ne81ebIYb0r+zhY3yGAqIs/S+A5hJ8QIDAQABAoIBAA0u7bTACVZtpnubvpd4/VyidBFGzEcEWSqAXUdC/6e7DUpsQWJTy/Vo0CTqIGNSglr0ukx+bp6/2yJWM8K3YzoKOGZFJok5a7/NsIG1jnB/Zo++9hiH2o9OgwVgwBCYXT8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qCLbsqfOGaMwS8utZ8Ez9xm',
            //支付宝公钥，此公钥应该是所有商户都统一的，所以这里写一下，每个商户就不用去单独维护了，此公钥非常重要
            'alipay_public_key' => "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqGO790Hr8q9fqr7E/5Xvium3//yfZIK+DiAXoQFLqSHqBGn79QJV0mFwjO3XWHN3ycAs3jv3jv1tdqCZlaUuUGTZuU6U+FRiQKOy7FVLJiiPDBhlVra6avxzWEOVcr7XlMn5nqeVvkmsIdXxdS+mQviS2Reaj4zcyv4bBxHNqlcgiGOKpQiSdh+N552CWW3hQUPFNWNXwTUb/fHYQ8DUUpvrH7mxAdCnrFIOlggaoqiGI8DtSOqOTgWGJ1n40/47xXZ+ipYKFtmI2IbGO+ygIyzcV/AkexnNWasblwwoZcnZmCEGVPJC9ssAtPy7pC9FTWDZZQ2I3UeqnDnP9ENTGwIDAQAB",
        ]
    ],
    'login_fail_num' => 3,              //登陆失败次数，如果每天登陆失败次数超过次数字，就会显示图片验证码
    'tocash_money_low' => '100' ,       //最低提现金额

    //三级分销
    'sale_level' => [
        '1' => [
            'name' => '一',
            'money' => 99,
            'team' => 0,
            'rebate' => 0.1,
        ],
        '2' => [
            'name' => '二',
            'money' => 999,
            'team' => 2,
            'rebate' => 0.28,
        ],
        '3' => [
            'name' => '三',
            'money' => 6999,
            'team' => 3,
            'rebate' => 0.5,
        ],
        '4' => [
            'name' => '四',
            'money' => 19999,
            'team' => 5,
            'rebate' => 0.65,
        ],
        '5' => [
            'name' => '五',
            'money' => 39999,
            'team' => 9,
            'rebate' => 0.7,
        ]
    ],
    //平级奖
    'sale_same_level_rebate' => 0.01,

];